﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/FrameMain.Master"
    AutoEventWireup="true" CodeBehind="RoomInforList.aspx.cs" Inherits="FortuneHeaven.Admin.Pages.GameManager.RoomInforList" %>

<%@ Register TagPrefix="uc1" TagName="Pagination" Src="~/Controls/Pagination.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="toolbar">
    </div>
    <div id="head">
        <div class="left">
            <asp:Label ID="lblDeptName" runat="server" Font-Bold="true"></asp:Label>
            <asp:Label ID="lblStatistic" runat="server"></asp:Label>
        </div>
        <div class="right">
            <asp:Label ID="lbGiftOrder" runat="server" Text="房间号: "></asp:Label>
            <asp:TextBox ID="txtOrderID" multinumber runat="server" CssClass="txt" Style="width: 113px;"></asp:TextBox>
            <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="SearchValue" />
            <asp:Label ID="lblShow" runat="server" Text="显示:"></asp:Label>
            <asp:DropDownList ID="drpPagerSize" AutoPostBack="true" runat="server" OnSelectedIndexChanged="drpPagerSize_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
    </div>
    <asp:ListView ID="lvNews" runat="server" EnableViewState="true" EnableModelValidation="True">
        <LayoutTemplate>
            <div id="list">
                <table id="lvList" cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr>
                        <th class="sp">
                            &nbsp;
                        </th>
                        <th>
                            房间ID
                        </th>
                        <th>
                            房间名
                        </th>
                        <th>
                            桌号
                        </th>
                        <th>
                            动物游戏积分
                        </th>
                        <th>
                            庄闲和积分
                        </th>
                        <th>
                            总积分
                        </th>
                    </tr>
                    <tbody>
                        <asp:PlaceHolder ID="itemPlaceholder" runat="server" />
                    </tbody>
                </table>
            </div>
        </LayoutTemplate>
        <AlternatingItemTemplate>
            <tr>
                 <td class="sp">
                    &nbsp;
                </td>
                <td>
                    <a href="RoomTableDetailList.aspx?RoomID=<%# Eval("RoomID")%>&pre=<%=Server.UrlEncode("RoomInforList.aspx") %>">
                        <%# Eval("RoomID")%></a>
                </td>
                <td>
                    <%# Eval("RoomName")%>
                </td>
                <td>
                    <a href="RoomTableDetailList.aspx?RoomID=<%# Eval("RoomID")%>&TableID=<%# Eval("TableID")%>&pre=<%=Server.UrlEncode("RoomInforList.aspx") %>">
                        <%# Eval("TableID")%></a>
                </td>
                <td>
                    <%# Eval("animalscore")%>
                </td>
                <td>
                    <%# Eval("enjoygamescore")%>
                </td>
                <td>
                    <%# (double)Eval("enjoygamescore") + (double)Eval("animalscore")%>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <EmptyDataTemplate>
            <table id="Table2" runat="server">
                <tr>
                    <td>
                        没有记录.
                    </td>
                </tr>
            </table>
        </EmptyDataTemplate>
        <ItemTemplate>
            <tr>
                <td class="sp">
                    &nbsp;
                </td>
                <td>
                    <a href="RoomTableDetailList.aspx?RoomID=<%# Eval("RoomID")%>&pre=<%=Server.UrlEncode("RoomInforList.aspx") %>">
                        <%# Eval("RoomID")%></a>
                </td>
                <td>
                    <%# Eval("RoomName")%>
                </td>
                <td>
                    <a href="RoomTableDetailList.aspx?RoomID=<%# Eval("RoomID")%>&TableID=<%# Eval("TableID")%>&pre=<%=Server.UrlEncode("RoomInforList.aspx") %>">
                        <%# Eval("TableID")%></a>
                </td>
                <td>
                    <%# Eval("animalscore")%>
                </td>
                <td>
                    <%# Eval("enjoygamescore")%>
                </td>
                <td>
                    <%# (double)Eval("enjoygamescore") + (double)Eval("animalscore")%>
                </td>
            </tr>
        </ItemTemplate>
    </asp:ListView>
    <div id="foot">
        <div class="foot_left">
        </div>
        <div class="foot_right">
            <uc1:Pagination ID="usPager" runat="server" />
        </div>
    </div>
</asp:Content>
